Matrix (sometimes stylized as matrix or m for short) is an open standard and communication protocol for real-time communication. It aims to make real-time communication work seamlessly between different service providers, in the way that standard Simple Mail Transfer Protocol email currently does for store-and-forward email service, by allowing users with accounts at one communications service provider to communicate with users of a different service provider via online chat, voice over IP, and videotelephony. It therefore serves a similar purpose to protocols like XMPP, but is not based on any existing communication protocol.
From a technical perspective, it is an application layer communication protocol for federated real-time communication. It provides HTTP APIs and open source reference implementations for securely distributing and persisting messages in JSON format over an open federation of servers. It can integrate with standard via WebRTC, facilitating browser-to-browser applications.
In July 2017, the funding by Amdocs was announced to be cut and in the following weeks the core team created their own United Kingdom-based company, "New Vector Limited", which was mainly built to support the development of Matrix and Riot, the second of which was later renamed to Element. During this time period, there were multiple calls for support to the community and companies that build on Matrix, to help pay for the wages of at least part of the core team. Patreon and Liberapay crowdfunding accounts were created, and the core team started a Video Podcast, called Matrix "Live" to keep the contributors up to speed with ongoing developments. This was expanded by a weekly blog format, called "This Week in Matrix", where interested community members could read, or submit their own, Matrix-related news. The company was created with the goal of offering IT consultancy services for Matrix and paid hosting of Matrix servers (as a platform called modular.im, which was later renamed to Element matrix services) to generate income.
In the early weeks after its creation, the Matrix team and the company Purism published plans to collaborate in the creation of the Librem 5 phone. The Librem 5 was intended to be a Matrix native phone, where the default pre-installed messaging and caller app should use Matrix for audio and video calls and instant messaging.
In 2017, KDE announced it was working on including support for the protocol in its IRC client Konversation.
In late January 2018, the company received an investment of US$5 million from Status, an Ethereum based Startup company.
In April 2018, the French Government announced plans to create their own instant messaging tool. Work on the application based on Riot and Matrix protocol—called after French scientist Claude Chappe—had started in early 2018, and the program was open-sourced and released on iOS and Android in April 2019.
In October 2018, a Community Interest Company called "The Matrix.org Foundation C.I.C." was incorporated, to serve as a neutral legal entity for further development of the standard.
In June 2019, when the Matrix protocol left beta phase with the release of version 1.0 across all its APIs. During this time, the Matrix Foundation was also officially launched to oversee the protocol, and Synapse was serving as its reference homeserver implementation. Later that year, in October 2019, the company New Vector raised an additional US$8.5 million for the development of Matrix. By the end of the year, several organizations announced plans for adoption. In December 2019, the German Federal Ministry of Defense began a pilot project named BwMessenger, based on the Matrix protocol, a Synapse server, and the Riot application modeled after France's Tchap project. Also in December, Mozilla announced it would replace its IRC infrastructure with Matrix, scheduling the migration for early 2020.
Following its announcement, Mozilla completed its transition by shutting down its IRC server in March 2020 and directing users to its new Matrix instance. In May 2020, end-to-end encryption was enabled by default for all new private conversations within the protocol. In October of that year, the company Element acquired the Gitter chat platform from GitLab, announcing plans to migrate all Gitter users to Matrix.
By March 2021, the Matrix.org Foundation reported that there were 28 million global visible accounts on the network. In September 2022, security vulnerabilities were disclosed in the implementation of a client-side encryption library. Due to the protocol's interoperable design, the issue was limited to the affected client applications, which required an upgrade, while the protocol itself and third-party implementations were not affected. According to the disclosure, all critical issues were fixed, with the remaining ones being either non-exploitable in practice or already covered by warnings in the client interface.
In June 2023, Beeper became the first member of The Matrix Foundation.
In April 2024, the first elections of the Matrix Foundation's Governing Board were held, which is made up of nine different constituency groups across three categories: nonprofit and community representatives, funder representatives, and foundation representatives.
Client software is available for open-federated Instant Messaging (IM), voice over IP (VoIP) and Internet of Things (IoT) communication.
The Matrix standard specifies HTTP APIs for securely transmitting and replicating JSON data between Matrix-capable clients, servers and services. Clients send data by HTTP PUT it to a ‘room’ on their server, which then replicates the data over all the Matrix servers participating in this ‘room’. This data is signed using a git-style signature to mitigate tampering, and the federated traffic is encrypted with HTTPS and signed with each server's private key to avoid spoofing. Replication follows eventual consistency semantics, allowing servers to function even if offline or after data-loss by re-synchronizing missing history from other participating servers.
Outbound group session keys are needed for initiating new Megolm sessions for group chats. In addition, cross-signing-keys are used to verify the overall identity of the user and their device(s). When enabling a secure backup, all those keys are encrypted using a strong passphrase or a randomly generated recovery key. This ensures that even a person who has access to the backup of the keys could not decrypt messages, guaranteeing full E2EE.
Under MSC2883 Matrix plans implementation of MLS for group chats encryption.
Currently there are official bridges for:
Bridges for the following notable applications are maintained by the community:
Also chat of some games such as Luanti can be bridged to a Matrix room using a mod.
Germany's national healthcare system's internal communication network uses a Matrix-based system ( Ti-Messenger) for real-time communication among Germany's healthcare organizations and sharing of sensitive patient data, and is developed by the national agency for the digitalisation of the healthcare system ( GmbH). Reasons for choosing Matrix included federated identity management, which allows to reuse the existing identity infrastructure into the new chat system; the decentralized architecture, which allows cross-linking data from disparate sources; and the open protocol, which ensures interoperability and future-proof data exchange and prevents vendor lock-in.
Employees of the Bundeswehr (Germany's armed forces) communicate with each other, and share classified documents (German VS-NfD), on a private Matrix network, with a customized version of the Matrix Element app: BwMessenger (as mentioned above).
Two states of Germany run their own Matrix chat networks for schools. Rhineland-Palatinate is offering SchulchatRLP as a fork of FluffyChat since the beginning of 2024. The server is sized for half a million pupils and deployed on kubernetes and the client was enhanced with features such as read receipt for parents or polls by fairkom., who became a silver partner of the Matrix foundation in 2023. Bavaria has adapted the Element client as a proprietary ByCS messenger.
Luxembourg has developed a Matrix-based chat service for government officials, named Luxchat4Gov, planned to be released in the second quartal of 2023.
The Swedish Social Insurance Agency ( Försäkringskassan) is using Matrix for internal communications.
Rocket.Chat recommends federation between RocketChat servers with its built-in Matrix bridge since version 4.7.0.
FOSDEM uses Matrix since 2021. The hosting is provided by Element Matrix Services, which publishes the technical details for public review soon after the event.
Polish Armed Forces introduced a Matrix protocol based communicator in 2023, to exchange unclassified information among Polish Army soldiers as well as for Ministry of National Defence employees.
|
|